package com.szeastroc.core.mapper.system;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.szeastroc.core.base.mapper.BaseMapper;
import com.szeastroc.core.bean.system.SystemArea;

@Repository
public interface SystemAreaMapper extends BaseMapper<SystemArea>{
	
	List<SystemArea> getProvince();

	List<SystemArea> getCity(@Param("areaNo")Integer areaNo);
	
	List<SystemArea> getZone(@Param("areaNo")Integer areaNo);

	List<SystemArea> getAresByName(String name);
	
	SystemArea getSystemAreaByAreaNo(@Param("areaNo")Integer areaNo);
	
}

